<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%--    <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>--%>
    <script src="js/jquery_3.6.0.js"></script>
    <script>
        var personList = new Array();
        personList.push({name: "robert.song", age: 18})
        personList.push({name: "songyahui", age: 18})
        personList.push({name: "宋亚辉", age: 18})
        var account = {
            "name": null,
            "passwd": "1234"
        }
        $.ajax({
            sync: false,
            type: "post",
            url: `${pageContext.request.contextPath}/user/quick15`,
            data: JSON.stringify(personList),
            contentType: "application/json;charset=gbk"
        });

        $.ajax({
            sync: false,
            type: "post",
            url: `${pageContext.request.contextPath}/user/quick15_2?name=songyahui`,
            data: JSON.stringify(account),
            contentType: "application/json;charset=utf-8"
        });

        $.ajax({
            sync: false,
            type: "post",
            url: `${pageContext.request.contextPath}/user/quick18`,
            data: JSON.stringify(new Date()),
            contentType: "application/json;charset=utf-8"
        });
        $.ajax({
            sync: false,
            type: "post",
            url: `${pageContext.request.contextPath}/user/quick16/song`,
            data: JSON.stringify(account),
            contentType: "application/json;charset=utf-8"
        });
    </script>
</head>
<body>

</body>
</html>
